<!-- Main Nav -->

<?php
session_start();
//Inicializar
if (!isset($_SESSION['classe'])) {
    $_SESSION['classe'] = 'Pessoa';
}

if (isset($_GET['classe'])) {
    $_SESSION['classe'] = $_GET['classe'];
}
?>


<div id="navigation">
    <ul>
        <li><a href="pessoa.php?classe=Pessoa" <?php if($_SESSION['classe']=='Pessoa'){ echo 'class="active"';}?>><span>Pessoa</span></a></li>
        <li><a href="profissao.php?classe=Profissao" <?php if($_SESSION['classe']=='Profissao'){ echo 'class="active"';}?>><span>Profissão</span></a></li>
        <li><a href="setor.php?classe=Setor" <?php if($_SESSION['classe']=='Setor'){ echo 'class="active"';}?>><span>Setor</span></a></li>
        <li><a href="vaga.php?classe=Vaga" <?php if($_SESSION['classe']=='Vaga'){ echo 'class="active"';}?>><span>Vaga</span></a></li>
        <li><a href="candidato.php?classe=Candidato" <?php if($_SESSION['classe']=='Candidato'){ echo 'class="active"';}?>><span>Candidato</span></a></li>
    </ul>
</div>
<!-- End Main Nav -->
